﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WcfFlashRemoting.Example3.WcfClient
{
    class Program
    {
        static void Main(string[] args)
        {
            Example3Service.IItemCheckContract svc = new Example3Service.ItemCheckContractClient("AmfBinding_IItemCheckContract");
            Example3Service.StockData result = svc.GetItemData(new Example3Service.ItemDescription()
            {
                ItemId = 1,
                Name = "Widget"
            });
            Console.WriteLine(result.Name);
            Console.WriteLine(result.Price.ToString("C"));
            Console.WriteLine(result.Quantity);
            Console.ReadKey();
        }
    }
}
